package com.woniuxy.kaer.user.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.kaer.commons.util.PageInfo;
import com.woniuxy.kaer.user.model.PointsLog;
import com.woniuxy.kaer.user.mapper.PointsLogMapper;
import com.woniuxy.kaer.user.service.PointsLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author sun
 * @since 2025年02月17日
 */
@Service
public class PointsLogServiceImpl extends ServiceImpl<PointsLogMapper, PointsLog> implements PointsLogService {
    @Resource
    private PointsLogMapper pointsLogMapper;

    /**
     * 新增积分日志
     */
    @Override
    public boolean addPointsLog(PointsLog pointsLog) {
        return this.save(pointsLog);
    }

}
